package com.aat.dxfy.futurejdk;

import java.util.concurrent.Callable;

public class RealData implements Callable<String> {
	private String para;

	public RealData(String para) {
		this.para = para;
	}

	public String call() throws Exception {
		StringBuffer sb = new StringBuffer();
		for (int i = 0; i < 10; i++) {
			sb.append(para+""+i);
			Thread.sleep(100);
		}
		return sb.toString();
	}

}
